package simple08.bag;
//加急装饰
public class SpeedBagDecorator extends BagDecortor {
    public SpeedBagDecorator(Bag bag) {
        super(bag);
    }

    @Override
    public void getBag() {
        super.getBag();
        speed();
    }

//    public void pack(){
//        super.getBag();
//        speed();
//    }
    //加固
    private void speed() {
        System.out.println("=======");
        System.out.println("加急");
    }
}
